// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

package com.brest.managesambafilesharing;

import android.util.Log;

public class LOG {

	public LOG() {
	}

	private static final String caller(String s, String s1) {
		String s2 = "-";
		String s3 = "-";
		if (s != null) {
			String as1[] = s.split("\\.");
			if (as1.length > 0)
				s2 = as1[-1 + as1.length];
		}
		if (s1 != null) {
			String as[] = s1.split("\\.");
			if (as.length > 0)
				s3 = as[-1 + as.length];
		}
		return (new StringBuilder(String.valueOf(s2))).append(".").append(s3)
				.toString();
	}

	public static final void d(String s) {
		String s1 = caller((new Exception()).getStackTrace()[1].getClassName(),
				(new Exception()).getStackTrace()[1].getMethodName());
		Log.d(TAG, (new StringBuilder(String.valueOf(s1))).append("(): ")
				.append(s).toString());
	}

	public static final void e(String s) {
		String s1 = caller((new Exception()).getStackTrace()[1].getClassName(),
				(new Exception()).getStackTrace()[1].getMethodName());
		Log.e(TAG, (new StringBuilder(String.valueOf(s1))).append("(): ")
				.append(s).toString());
	}

	public static final void i(String s) {
		String s1 = caller((new Exception()).getStackTrace()[1].getClassName(),
				(new Exception()).getStackTrace()[1].getMethodName());
		Log.i(TAG, (new StringBuilder(String.valueOf(s1))).append("(): ")
				.append(s).toString());
	}

	public static final void t(String s) {
		String s1 = caller((new Exception()).getStackTrace()[1].getClassName(),
				(new Exception()).getStackTrace()[1].getMethodName());
		Log.i(TAG, (new StringBuilder(String.valueOf(s1))).append("(): ")
				.append(s).toString());
	}

	public static final void w(String s) {
		String s1 = caller((new Exception()).getStackTrace()[1].getClassName(),
				(new Exception()).getStackTrace()[1].getMethodName());
		Log.w(TAG, (new StringBuilder(String.valueOf(s1))).append("(): ")
				.append(s).toString());
	}

	private static String TAG = "managesambafilesharing";

}
